package jiekou;

public class warcraft {
    int i = 100;
    String name;
    String color;
    String num;
    String radius;
    public void fly(){
        System.out.println(name+"起飞了");
    }
    public void cruise(){
        System.out.println(name+"正在巡航");
    }
    public void landing(){
        System.out.println(name+"正在降落");
    }
    public void strafe(){
        System.out.println(name+"用雷达扫射四周");
    }
    public void fire(){
        System.out.println(name+"选择开火");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getRadius() {
        return radius;
    }

    public void setRadius(String radius) {
        this.radius = radius;
    }

    public warcraft() {

    }

    public warcraft(String name, String color, String num, String radius) {
        this.name = name;
        this.color = color;
        this.num = num;
        this.radius = radius;
    }
}
